﻿<link href="/Common/layim/dist/css/layui.css" rel="stylesheet" />
<div class="layui-btn-container"  style="    margin-top: 10px;margin-left: 5px;"> 
<button class="layui-btn layui-btn-sm" onclick="a_add()">添加</button> 
</div>
<table class="layui-table layui-form" id="tree-table" lay-size="sm"></table>

<div id="adddictionary" style="display:none">
    <!--填加图标css-->
    <link href="/Common/bootstrap/css/font-awesome.min.css" rel="stylesheet" />
    <script id="QXS" type="text/html">
        {{#  layui.each(d.list, function(index, item){ }}
        <option value="{{item.ID}}">
            {{item.Title}}
        </option>
        {{#  }); }}
        {{#  if(d.list.length === 0){ }}
        无数据
        {{#  } }}

    </script>
    <form class="layui-form" action="" lay-filter="addclass">

        <div class="_two"><div class="layui-col-md6  asxsyd92move" ><div class="layui-form-item"><label class="layui-form-label">ID</label><div class="layui-input-block"><input  value="00000000-0000-0000-0000-000000000000" placeholder="请输入ID" name="ID" id="ID" lay-filter="column" class="layui-input" disabled="disabled"></div></div></div><div class="layui-col-md6  asxsyd92move"><div class="layui-form-item"><label class="layui-form-label">上级菜单</label><div class="layui-input-block">
    <select lay-search name="ParentID" id="ParentID" lay-filter="ParentID"></select>
</div></div></div><div class="layui-col-md6 asxsyd92move"><div class="layui-form-item"><label class="layui-form-label">标题</label><div class="layui-input-block"><input  lay-verify="required" placeholder="请输入标题" name="Title" id="Title" lay-filter="column" class="layui-input"></div></div></div><div class="layui-col-md6 asxsyd92move"><div class="layui-form-item"><label class="layui-form-label">Code</label><div class="layui-input-block"><input  placeholder="请输入Code" name="Code" id="Code" lay-filter="column" class="layui-input"></div></div></div><div class="layui-col-md6 asxsyd92move"><div class="layui-form-item"><label class="layui-form-label">值</label><div class="layui-input-block"><input  placeholder="请输入值" name="Value" id="Value" lay-filter="column" class="layui-input"></div></div></div><div class="layui-col-md6 asxsyd92move"><div class="layui-form-item"><label class="layui-form-label">备注</label><div class="layui-input-block"><input  placeholder="请输入备注" name="Note" id="Note" lay-filter="column" class="layui-input"></div></div></div><div class="layui-col-md6 asxsyd92move"><div class="layui-form-item"><label class="layui-form-label">其他</label><div class="layui-input-block"><input  placeholder="请输入其他" name="Other" id="Other" lay-filter="column" class="layui-input"></div></div></div><div class="layui-col-md6 asxsyd92move"><div class="layui-form-item"><label class="layui-form-label">排序</label><div class="layui-input-block"><input  placeholder="请输入排序" name="Sort" id="Sort" lay-filter="column" type="number" class="layui-input"></div></div></div></div>
        <div class="layui-col-md6 asxsyd92move">
            <div class="layui-form-item">
                <label class="layui-form-label">是否启用</label>
                <div class="layui-input-block">
                    <input type="radio" name="IsUse" id="IsUse" value="0" title="禁用">
                    <input type="radio" name="IsUse" id="IsUse" value="1" title="启用">
                </div>
            </div>
        </div>
            <div class="layui-form-item">
                <div class="layui-input-block">

                    <button class="layui-btn" lay-submit="" lay-filter="add">确定</button>

                </div>
            </div>
</form>
</div>
<script src="/Common/layim/dist/layui.all.js"></script>
<script>
    layui.config({
        base: '/Common/layim/plugin/webos/SysSet/'
    }).use('Dictionary');
</script>